package com.bupt.hotel.hvac.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 风速等级枚举
 */
@Getter
public enum FanSpeed {
    LOW("LOW", "低风", 1),
    MEDIUM("MEDIUM", "中风", 2),
    HIGH("HIGH", "高风", 3);

    @EnumValue
    @JsonValue
    private final String value;

    private final String description;

    private final Integer priority; // 优先级

    FanSpeed(String value, String description, Integer priority) {
        this.value = value;
        this.description = description;
        this.priority = priority;
    }
}
